package com.pks.datacenter.entity.user;

import lombok.Data;
import lombok.EqualsAndHashCode;

import com.pks.util.coder.database.DBField;
import com.pks.util.coder.database.DBQuery;
import com.pks.util.coder.database.DBTable;
import com.pks.web.mybatis.entity.BasicEntity;

@Data
@EqualsAndHashCode(callSuper = true)
@DBTable(tags = "用户" ,index_unique = "account")
public class User extends BasicEntity {

	
	private static final long serialVersionUID = -1276321082462452688L;

	@DBField(comment = "用户账号")
	@DBQuery
	private String account;
	
	@DBField(comment = "用户姓名")
	@DBQuery(value = "like")
	private String userName;
	
	@DBField(comment = "密码")
	@DBQuery
	private String password;
	
	@DBField(comment = "手机号")
	@DBQuery
	private String mobile;
	
	@DBField(comment = "描述")
	private String remark;

	
}
